.m-t-90 {margin-top: 90px;}
$directions:("t":"top", "b":"bottom", "l":"left", "r":"right");
$dimensions:("p":"padding", "m":"margin");
//获取padding margin间隔
@each $dim in $dimensions {
    //循环四个方向
    @each $dir in $directions {
        @for $i from 1 through 50 {
            $size: $i*5;
            .#{nth($dim,1)}-#{nth($dir,1)}-#{$size} {
                #{nth($dim,2)}-#{nth($dir,2)}: #{$size}px;
            }
        }
    }
}

$dimensionsc:("h":"height", "w":"width");

@each $dimcd in $dimensionsc {

  //循环四个方向
  @for $i from 1 through 200 {
    $size: $i*1;

    .#{nth($dimcd,1)}#{$size} {
      #{nth($dimcd,2)}: #{$size * 1}px;
    }
  }
}



$dimensionsf:("fz":"font-size");

@each $dimf in $dimensionsf {

  //循环四个方向
  @for $i from 1 through 40 {
    $size: $i*1;

    .#{nth($dimf,1)}-#{$size} {
      #{nth($dimf,2)}: #{$size * 1}px;
    }
  }
}